import request from '@/utils/request'

// 更新用户状态
export const updateStatus = ({ userNo, status }) => request.put(`/manage/user-status/${userNo}/${status}`)
// 更新用户信息
export const updateInfor = params => request.put(`/manage/user/${params._id}`, params)
// 新增用户信息
export const addUser = params => request.post(`/manage/adduser`, params)
// 删除用户信息
export const deleteUser = userNo => request.delete(`/manage/user/${userNo}`)
